﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MoetutuServer.Helper.ViewHelper
{
    class GetGroupBox
    {
        /// <summary>
        /// P站扫描
        /// </summary>
        /// <param name="groupBox"></param>
        public static  void  PixivScanner(GroupBox groupBox ) {

            groupBox.Controls.Clear();
            groupBox.Controls.Add(new Pixiv.ProcessImg.ProcessControl());
        }
        /// <summary>
        /// 修复界面的帮助
        /// </summary>
        /// <param name="groupBox"></param>
        public static void RepairView(GroupBox groupBox)
        {

            groupBox.Controls.Clear();
            groupBox.Controls.Add(new MoetutuServer.RepairHelper.RepairControl());
        }
        /// <summary>
        /// K站扫描处理
        /// </summary>
        /// <param name="groupBox"></param>
        public static void KonachanHelper(GroupBox groupBox) {

            groupBox.Controls.Clear();
            groupBox.Controls.Add(new WebSite.Konachan.KonachanUserControl());
        }

        /// <summary>
        /// P站扫描扫描处理
        /// </summary>
        /// <param name="groupBox"></param>
        public static void PixivHelper(GroupBox groupBox)
        {

            groupBox.Controls.Clear();
            groupBox.Controls.Add(new WebSite.Pixiv.PixivUserControl());
        }
        /// <summary>
        /// 用户界面帮助
        /// </summary>
        /// <param name="groupBox"></param>
        public static void CorrenyHelper(GroupBox groupBox)
        {

            groupBox.Controls.Clear();
            groupBox.Controls.Add(new Helper.UserHeplerControl());
        }
    }
}
